package com.zhku.shoppingspringboot.pojo.entity.goodsData;
import java.util.ArrayList;
import java.util.List;

public class Details {

    private String id;

    private List<String> pictures;

    private List<Properties> properties;

    // 这个构造函数不可少
    public Details() {
        this.pictures = new ArrayList<>(); // 初始化为新的 ArrayList
        this.properties = new ArrayList<>(); // 初始化为新的 ArrayList
    }
    public void setPictures(List<String> pictures) {
        this.pictures = pictures;
    }

    public List<String> getPictures() {
        return this.pictures;
    }

    public void setProperties(List<Properties> properties) {
        this.properties = properties;
    }

    public List<Properties> getProperties() {
        return this.properties;
    }



    @Override
    public String toString() {
        return "Details{" +
                "pictures=" + pictures +
                ", properties=" + properties +
                '}';
    }
}
